| Miles Sound System SDK 7.2a |
Q: | How do I play an XMIDI file with a DLS instrument set? |
A: | To play an XMIDI file using a DLS instrument set, follow these steps: 1) Open the DLS synth with AIL_DLS_open. 2) Load the instrument set from the disk with AIL_file_read. 3) Use AIL_extract_DLS to uncompress the instrument set, if necessary. You call tell if you need to uncompress the file by checking the type of the file with the AIL_file_type function. 4) Load the instrument set into the synthesizer with AIL_DLS_load_memory. 5) Now follow the steps in the "How do I play a MIDI file?" FAQ. |
Next Topic (How do I stream a file off a hard disk or CD?)
Previous Topic (How do I play an XMIDI or MIDI file?)
Group:
FAQs and How Tos
Related Functions:
AIL_DLS_load_memory, AIL_DLS_open, AIL_extract_DLS, AIL_file_read, AIL_file_type
Related FAQs:
How do I play an XMIDI or MIDI file?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.